package com.xqboss.apps.dto.synthesis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Builder
@ApiModel(value = "合成活动-开始合成", description = "出入参数")
@NoArgsConstructor
@AllArgsConstructor
public class SynthesisStartDto {
    @ApiModelProperty("合成活动ID")
    @NotNull
    private Long synthesisId;
    @ApiModelProperty("方案组ID")
    @NotNull
    private Long groupId;
    @ApiModelProperty("方案名称")
    private String title;
    @ApiModelProperty("投入材料信息")
    @NotNull
    private List<SynthesisPlanConsumeDto> consumes;

    @ApiModelProperty("合成次数")
    private int count;
}
